/*
 * @Author: zhuxiaoyi
 * @Date: 2024-01-05 16:48:39
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2024-02-20 14:15:57
 * @Description:
 */
import { createApp } from "vue";
import ElementPlus from "element-plus";
import router from "@/router";
import App from "./App.vue";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "dayjs/locale/zh-cn";
import "./style.css";
// import 'element-plus/dist/index.css'
import "element-plus/theme-chalk/src/dark/css-vars.scss";
import "./assets/style/element/index.scss";
import store from "@/store";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
const app = createApp(App);
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(router);
app.use(store);
app.mount("#app");
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
